@Override
    public V put(K key, V value) {
        makeWritable();
        return map.put(key, value);
    }
Make a copy of the given map with the requisite deepness.
This default implementation does return new HashMap&lt;&gt;(original);
vespajlib/src/main/java/com/yahoo/collections/CopyOnWriteHashMap.java