toSet

open fun <T> toSet(collection: Collection<T>): Set<T>