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