Implemented dedup_by_columns