Returns a HashMap containing all elements.
Example:
mapOf(1 to 2, 2 to 3).toHashMap() // {1=2, 2=3}
1.1.0