This function dedupes all records in the table(s) using a date. This could be, for example, the birth date.