public class CopyOnWriteContent
A HashMap wrapper which can be cloned without copying the wrapped map.
Copying of the map is deferred until there is a write access to the wrapped map.
This may be frozen, at which point no further modifications are allowed.
Note that until this is cloned, the internal map may be both read and written.