The scripts pcb-matrix and sch-matrix replicate PCB and schematic structures by copying an input file to an output file multiple times incrementing the (x,y) position of each copy. The copied structures are arranged in a matrix as specified in a configuration file.

N.B. These scripts may not work for all layouts. I wrote sufficient code to copy the schematic and PCB elements for one of my designs not for all possible designs. I am almost certain that sch-matrix will break for schematics with embedded symbols.