Fixed double copy in StackedTransform copy constructor