There's generating design pattern "Prototype"
And there are Prototype programming
If you're asking about a template, then in a nutshell Prototype is when we create a new volume by copying rather than creating a new one through the constructor. It's used when creating an object is resource-intensive and it's more efficient to copy an existing object
And there are Prototype programming
If you're asking about a template, then in a nutshell Prototype is when we create a new volume by copying rather than creating a new one through the constructor. It's used when creating an object is resource-intensive and it's more efficient to copy an existing object