matches

fun <T> Collection<T>.matches(others: Collection<T>): List<Pair<T, T>>