save/restore the RNG seed & type