Yes, I have already coded the part that will duplicate selected layers.
The problem part is Flipping them Horizontally and/or vertically (as I cannot find any property/method attached to Layer that will allow one to Flip the layer) and then finally calculating their position.