Detect in-place modifications on Strings

Just to understand, why we are needing to dup this now?