Script to find and remove duplicate document objects or table rows by their unique key.