Vincent says the element is at most once in the vector, so we don't need a full std::remove.