CloneMap extension

Adds clone method that create a deep copy of a map.

on

Methods

clone<K, V>() Map<K, V>
Creates a deep copy of the Map, mutations to the original will not affect the copy.