Reports clone() methods which are not declared as throwing
CloneNotSupportedException. If clone() is not declared
to possibly throw CloneNotSupportedException, then subclasses which need to
prohibit cloning will not be able to do so in the standard way. This inspection will not report
clone() methods declared final,
or clone() methods on final classes.
Use the checkbox below to indicate if this inspection should only warn on protected methods.
In Effective Java, Second Edition (but not in the first edition) it is recommended to omit the CloneNotSupportedException
declaration on public methods, because methods that don't throw checked exceptions are easier to use.