Removes duplicate concurrent rows. User can specify which subset of columns are used to determine a duplicate row.
First parameter: array of row data
Second parameter: list of column indices that constitute the set of column to use to compare to the previous row. If null, the entire row is compared to the previous one.