add Transform.save & Transform.restore