code: def array(object, dtype=None, copy=True, order="K", ndmin=0):
      if order is not None and order != "K":
          raise ivy.utils.exceptions.IvyNotImplementedException(
              "Only implemented for order='K'"
          )
      device = ivy.default_device()
      if ivy.is_array(object):
          device = ivy.dev(object)
      ret = ivy.array(object, dtype=dtype, device=device)
      if ivy.get_num_dims(ret) < ndmin:
          ret = ivy.expand_dims(
              ret, axis=list(range(ndmin - ivy.get_num_dims(ret)))
          )
  
      if ret.shape == () and dtype is None:
          return Array(ret, weak_type=True)
      return Array(ret)
  
imports: import ivy
  from ivy.func_wrapper import with_unsupported_dtypes
  from ivy.functional.frontends.jax.array import Array
  import ivy.functional.frontends.jax.numpy
  from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back, outputs_to_frontend_arrays, handle_jax_dtype, inputs_to_ivy_arrays
  from ivy.func_wrapper import handle_out_argument
  from ivy import with_unsupported_device_and_dtypes
label_desc: Use image node_id 2 for calling a global function with example usage: array(object, dtype, copy, order, ndmin) and returns: Array, Array