| Some checks for the clone(Object) method. The method should
have these properties:
(1) Return a clone for any object that can be cloned;
(2) Throw a NullPointerException for any object that cannot be cloned;
(3) Throw an IllegalArgumentException for null.
throws: CloneNotSupportedException - if there is a problem cloning. |