Added clear() to remove all points on the path