To delete duplicate and overlapping objects in AutoCAD, run the OVERKILL command over a selection or the entire drawing to both delete duplicate objects and merge overlapping objects.
Check out a blog blog about this here - https://surveyorinsider.com/delete-overlapping-objects-autocad/