In Illustrator, you can create a layer mask by selecting the layer mask tool and choosing the Edit > Mask button. The mask will be created in the same location as the original layer. To remove the mask, select it and click the Delete button.