function[obj] = removeDuplicateLabels(obj) for t = 1:length(obj.trials) obj.trials(t) = obj.trials(t).removeDuplicateLabels; end