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