In GeoServer, assume I have a layer named "myLayer".
Using GeoServer's REST API, I want to make a complete copy of the layer, let's say "myLayer2" in the same workspace.
What would be my best approach?
I am on GeoServer 2.9.0, the workspace is a Shape-Directory (although I am looking for a generic solution). I also have the Importer Extension available.