????????Object?е?clone?????? ???????
??????????????clone??????????????? ????Clonable????????????clone?????????????????е?clone????????μ???? ??????????е?????????clone??????????????Object??????clone??????????????????????????????????
??????????????У? ????????????? ????Body??Face?? ??Body???У? ????????Face????????Body???????clone??? ??????Face??????????????????????????????y????
????body == body1 : false
????body.head == body1.head : true
?????????Body??????clone??????????? ??????Body??clone?????У?????????????Head?????clone????
?????????????
????body == body1 : false
????body.head == body1.head : false
??????????? body??body1???head?????????????Head???? ??????clone Body????????? ????????????????Head???? ????????????
???????????????
???????????????????ó?????????????????????????? ??????????????Cloneable???????clone????????????clone??????????????????????????????clone??? ?? ??????????????????????????Cloneable?????????clone??????
?????????????????????? Body???????Head?? ??Head???????Face?????????Body????????Body???clone?????н?Head?????????????????????Head??????????е??????????????Head??????Face????????????????????????£??????????????Face???????????? ????????????????????????????????????????? ???????????????????????????????
?????????????
????body == body1 : false
????body.head == body1.head : false
????body.head.face == body1.head.face : true
???????????????????

???????????Body??????????????????????????????????????????????Body??????????????????????????Head?????????????????????????????Body???????head?????????????????????Head??????????????????Head??????????????????????Face???????????????Body????????????????????????????????????????????????????????
??????ν??г????????
????????????????????????????????????Body?????????????????????Head???????????Face??????????????????????Face??????Cloneable???????clone??????????????Head?????clone?????У??????????????Face?????????????????£?
?????????????????????????????н?????£?
????body == body1 : false
????body.head == body1.head : false
????body.head.face == body1.head.face : false
?????????????Body????????????????????????face?????????????????????????????Face????????????£?

????????????????Face??????????????????? ?????Mouth????????????????Body?????????????????????????????????????Mouth???????? ??????Body??????????????????? ??????????Mouth?????????????
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????鷳??????????????ù??????????????£? ???????????????????????????????????????? ???????????????clone?????? ???????????????????????????????? ??????????????Head?????Face????????????е?????????????Cloneable?????????Face???????ж?????????????????Body????????á?????Face????????????Mouth????????Mouth????????????Tooth???? ???????????

????д???
????clone?????????????п???????????????????????????????????????????java?????????з???и??????????????????????????????????????????????????н????????????????????????????????????????????????????????????????????????????????????????????????clone???????????????????????????????????????????????????????????????н??в??????????????