* The whole idea of the singleton design pattern is that there is a single * object. Therefore, we don't want the object to be cloned. code example
Example: java singleton implementation
public class SingletonClass {
private static final SingletonClass SINGLE_INSTANCE = new SingletonClass();
private SingletonClass() {}
public static SingletonClass getInstance() {
return SINGLE_INSTANCE;
}
}