Port toSet() method

Authored by mlaurent on Jan 20 2020, 7:16 AM.