Overkill- remove overlapping / duplicate entities

This has been asked elsewhwere, but no activity lately.  Is there a method for removing duplicate and overlapping enities in a dwg?  AutoCADs function is Overkill and it works very well.  We have DS premium with LISP capabilities- but all of the LISP code I've been able to find so far simply removes exact duplicates - does not clean up overlaps- either line or arc segments.

This is a critical function to facilitate our laser programming.

One workaround we've used in both Bricscad and AutoCAD is using the boundary or region command- in both of those software packages the region after explode us uniform and continuous without overlaps- this does not work in DS- if you explode the region it goes back to a bunch of overlapping entities.

Suggestions?