Perform this function after isolating your data frame to the columns you want to keep.
# in your example, you only need the first two columns
deduped.data <- unique( data[ , 1:2 ] )
# the third column no longer 'distinguishes' them,
# so they're duplicates and deleted.