使用 clone()方法的类必须 implement Cloneable
如果没有继承,clone()方法会报错 java.lang.CloneNotSupportedException异常
Cloneable注解使用
原文:https://www.cnblogs.com/zhongchang/p/12085222.html