Remove duplicate rows within sets

An image