Update constructor of GpuArray such as Array constructors