Remove duplicate slices