removeDuplicatePoints

Creates a duplicate of this path with any consecutive duplicated points removed.