Fixed missing NULL initialization when duplicating transform specs.