Prototype Pattern Prototype is a creational design pattern that lets you copy existing objects without making your code dependent on their classes. source In this example Prototype allows Rectangle to be cloned.