Do a <kbd>Ctrl / Command</kbd>+click on the layer mask thumbnail in the layers panel. That will load the mask as a selection. Now when you copy and paste, it will only copy only the jar.