Cleaned up constructorMagic. Split it between StructuredArray and StructuredArrayIntrinsifiableBase to make it more secure.