This example is used to confirm that layers are cloned with their current state, not with their initial options. If this works, then both maps should have both layers visible (use the LayerSwitcher to confirm).