Mover createObject and createMultiArray para structs