public SimplifiedGeometryShape Clone() { List <List <Vector2> > list = null; if (polygons != null) { list = new List <List <Vector2> >(polygons.Count); for (int i = 0; i < polygons.Count; i++) { list.Add(new List <Vector2>(polygons[i])); } } return(new SimplifiedGeometryShape(list, tree.Clone())); }