toPersistentHashMap
Returns a persistent map containing all entries from this map.
If the receiver is already a persistent hash map, returns it as is. If the receiver is a persistent hash map builder, calls build on it and returns the result.
Order of the entries in the returned map is unspecified.