Remove duplicate positions from polylines.
Do not modify the polyline positions passed in by the user.
Only return a new array is duplicates were found.
PolylinePipeline.removeDuplicates clean up.
Merge pull request #2196 from AnalyticalGraphicsInc/polylineDuplicates

Remove duplicate positions from polylines.