Design pattern, Prototype & Singleton