Shallow Copy

Return to Glossary

A Shallow Copy is a process of creating a new object which stores the reference of the original elements. It does not create copies of nested objects itself.

Source: https://pediaa.com/what-is-the-difference-between-shallow-copy-and-deep-copy/