Smart Objects for Mockups Shapes

Can someone explain how you would create a smart object that is not the standard rectangle? I know how to convert a layer to a smart object for shirts but I need to know how to do it for a different shape like a circle or tapered look