The copy is appended to the top of the draw order, where a newly added layer
lands. Use move_layer() to put it elsewhere.
Examples
map <- geolibre() |>
add_marker(-77, 39, name = "Pin") |>
duplicate_layer("Pin")
stopifnot(layer_names(map)[[2]] == "Pin copy")