RepeatedField: clear and replace methods.