ParentFull threadDrJokepu·Copy-on-write is a common operation on immutable data and deep cloning is how you do that in JavaScript in a safe manner.View on HN