Anchor Layer is used to merge a floating selection with the layer which was active before the floating selection was made. This is the same as clicking the icon.