Paste separate selection as individual layer

This is my first script.
It is needed to the competent cannon http://registry.gimp.org/node/60 script.
I you have more that once rectangle selection area. You can use this script to copy on active layer any selection area and set him as individual layer.

AttachmentSize
selection-newlayer.scm3.05 KB