Fixed the `clone()` function for me.polyShape

the array of points also need to be properly cloned