Find duplicated values in a data frame and subset it to either include or not include them.
Useful links