FShapeWrapper

The pointer to the shape of a stereo layer is wrapped in this simple class that clones and destroys the shape.