https://github.com/gztchan/design-patterns-in-typescript/blob/master/prototype/prototype.ts
Here you're initializing the object of classes multiple times whereas the main purpose of the above is just to avoid that. Instead of using new ClassName, you should rather use an example where the same object is reused via the clone function.