For instance, if I have the below table, then I want to remove the 3rd row:
Stock   Price
-------------------
GOOG    101
GOOG    102
GOOG    102     <- want to remove this
GOOG    101
Note: even though row 4 is a duplicate of row 1, I don't want to remove it as it is not a consecutive duplicate. That is, it is not a duplicate of the row immediately above.
I would also want to do check for duplicates across multiple fields, not just Price.