GlobalLogic interview question

singleton class and how to prevent from multi threading and cloning