Add option to generate multi-master layouts