I often need to duplicate a vector layer, creating new data source (shapefile) files so that I can then delete some features in the duplicate layer without deleting them in the original data. I need to retain all of the formatting settings, etc. as I do this. I have been using "save as" (after right-clicking on the layer to be duplicated), but then need to go through and format the symbol, labels, etc.. Is it possible to do this while retaining the formatting settings?
Most (styling) settings can easily be copied from an existing layer to e.g. duplicates, which seems the best option here. Works quite like copy-paste, in the layer window
- right-click the (style) source layer -> styles -> copy style
- right-click the target layer(s) -> styles -> paste style
There are other options involving different layer- or symbology definition files, check both answers for this question for a few examples (it´s an old post but covers two common other options).