Ds\Map::copy() function can return the shallow copy of a map.
public Ds\Map Ds\Map::copy( void )
Ds\Map::copy() function doesn't have any parameters.
<?php $map = new \Ds\Map(["first" => "Tutorials", "second" => "Point", "third" => "India"]); print_r($map->copy()); ?>
<?php $map = new \Ds\Map([1 => "Tutorials", 2 => "Point", 3 => "India"]); print_r($map->copy()); ?>