Bug 972243 - Use Cu.cloneInto() and/or shallow copies to clone state objects r=billm a=sylvestre