Cloning:?
- When the Clone() method is called on an existing object (e.g., original),
it returns a new instance of the same type (e.g., GameCharacter) with the
same state (e.g., same Name and Health).
Benefits of the Prototype Pattern:
it returns a new instance of the same type (e.g., GameCharacter) with the
same state (e.g., same Name and Health).
Benefits of the Prototype Pattern: