I have written this clone method for when the parent of the Employee class is abstract and the clone() method in the parent class is abstract.I wanted to copy the primitive
You should simply write
return super.clone();
in your clone method and implement the Clonable interface.