Mini,

You can use vector shapes as Layer clipping paths allowing for non destructive editing. You could also create layer masks using Eric's technique. Using clipping paths and layer masks allows you to make changes later. For example if you wanted to change the radius on the rounded corners.