Add DeliteArray clone and optimize for immutable arrays