avoid double init of transform spec (double allocation) when copying a variable definition