BUG: save-state transform should be cloned from the result transform