# Copy Semantics

> The degree of care required to define correct deep versus shallow copying when cloning objects.

Record: `lexicon:copy-semantics`
Kind: quality-attribute
Layer: [Design Patterns Core](https://banes-lab.com/records/layer/design-patterns-core.md)
Canonical: https://banes-lab.com/ontology/lexicon#lexicon-copy-semantics

Listed in [Lexicon terms](https://banes-lab.com/api/records/lexicon.md), after [Complex Construction](https://banes-lab.com/records/lexicon/complex-construction.md) and before [Inheritance Complexity](https://banes-lab.com/records/lexicon/inheritance-complexity.md).

## Category

- [Creational Patterns](https://banes-lab.com/records/lexicon-category/creational-patterns.md)

## In tension with

- [Prototype Pattern](https://banes-lab.com/records/architecture/prototype-pattern.md)
- [Prototype Pattern / Copy Semantics](https://banes-lab.com/records/tension/copy-semantics-prototype-pattern.md)

## Linked from

- [Creational Patterns](https://banes-lab.com/ontology/principles/architecture-category-creational-patterns.md)
- [The resolutions](https://banes-lab.com/ontology/schema/the-resolutions.md)
