A very old 2D drafting package I used 15-20 years had a tool call "delete dupes" and it was liken to the Microstation Delete Duplicates command under utilities. But it had an added bonus if any lines(or arcs)of the same weight, level, type etc. ov...