A number of ways. If you can identify the duplicates in a saved search you could write a workflow to set each line to a zero quantity/amount. If you want to fully delete them, you’ll need a bit of scripting. I have a Mass Update script to delete records.