Clone a map to make it writable.
This should be used to create a writable object that can be modified
Map<String, Object?> cloneMap(Map value) => cloneValue(value) as Map<String, Object?>;