Returns a KtSet of all elements.
The returned set preserves the element iteration order of the original collection.
@useResult KtSet<T> toSet() => linkedSetFrom(iter);