Filtering out identical clusters