Helper function to remove duplicates from a data table; assumes input data are a duplicated set.
Useful links