contrib / copy.pre

Edit on Github

mixed copy(mixed);

arg is either one of:

  • array
  • buffer (if compiled into driver)
  • class
  • mapping

returns deep copy