Is there anything bad or wrong about creating an interface like this and use it in a place i need to make sure a variable is cloneable?
public interface PublicCloneable<I> {
public I clone();
}
The are questions in SO related on the fact that the Cloneable interface of java is broken and i don't understand why it isn't implemented like this.