tempory save a gameobject?

In my game when the player is hit gonna become a ragdoll then after a few secunds he become back to normal again, and i need to save all the variables in the player.

So i can turn off all scripts and stuff on the player while he is a ragdoll. Or what i think is easier to save the gameobject and after a few secunds just spawn him again

So is there anyway to save a gameobject with all his variables.

Disable the player mesh renderer. Then have a parented rag doll, and enable that mesh.