158715922d
It should have made a copy and the input should have been populated instead of being replaced (because it wouldn't hold the ref)