Improve codegen of new'd structs by not initialising the data twice