Identifying and Deleting Duplicates without Foreach Loop

Looking for a way to identify records that have a duplicate value in a designated column in larger data sets. Would then like to be able to delete duplicates with some customization of how to identify the records to keep or delete (first record, last record or value in a specified column). Would prefer a solution in Google Sheets as Zenphi Tables List Records action is currently capped at 10,000 results.