onDuplicatesRemoved

inline fun <T> Collection<T>.onDuplicatesRemoved(noDups: (collection: Set<T>) -> Unit = {})