Works the same standard lib's distinct, but only differentiates based on the key extracted
by the passed function. If more than one value exists for the same key, only the first one
is kept, the rest is filtered out.
Works the same standard lib's distinct, but only differentiates based on the key extracted
by the passed function. If more than one value exists for the same key, only the first one
is kept, the rest is filtered out.