Before to use this function you need to switch to Tabs view at first, then open at least 2 images.
After that select in the main menu: Image -> Merge...
In the list, select the image you want the current image to merge with, configure the level of merging, and click OK to apply the changes.