How to remove Duplicate Curves in Grasshopper

What about removing overlapping curves of different lengths that are overlapping? have somebody a better solution that this: Splitting or Dividing a curve using points on that curve ?