Does the part that holds the leg to the fence remove so that it can lay flat on a bench?

Yes, the leg and the mounting bracket can be removed. They attach using bolts and nuts that slide into the extrusion on the bottom of the extension.