map.copy

A new map with the same keys and values (objects in it are shared, not copied).

map.copy(id: map<K, V>) -> map<K, V>

Parameters

Example

saved = prices.copy()