Optimize cc.clone by making sure the cloned object has the same prototype chain as the original.
Merge pull request #1016 from oupengsoftware/taskbranch/COCOS2D-51-2-rebased

It looks great.
Thanks very much, Kenny.