clone method

Basemap clone()

Clones this instance of Basemap and its members.

All objects referenced by the basemap, such as layers or portal item, are copied as well.

Return Value: A new Basemap with the same values as the current Basemap.