public class Employee implements Cloneable { public Employee clone() { try { return (Employee) super.clone(); } catch(CloneNotSupportedException e) { return null; // won't happen } } ... }