mapValuesIdentity

fun <K, V1, V2> Map<K, V1>.mapValuesIdentity(transform: (Map.Entry<K, V1>) -> V2): MutableMap<K, V2>