happy it was useful.
To better clarify what the main formula (the one triggered by the button) does, here’s a walkthrough explanation:
RunActions( // executes - well - a set of actions :)
// 1st Action
Sequence(1,thisRow.Clones,1 ). // Sequence generates a list of items. It's often a useful way to create loops, like in this case. So the Sequence will generate n values from 1 to the number of clones.
FormulaMap( // FormulaMap is executed at each iteration. So: for each number of the sequence...
thisTable.AddRow( // .. adds a row to this table [this is the actual 1st action]...
thisTable.Name, thisRow.Name, // ... and sets the the values for the relevant columns
thisTable.Clones, thisRow.Clones, // ... [like the above]
thisTable.Source, thisRow // ... [like the above]
// 2nd Action
thisRow.ModifyRows(thisRow.Cloned, true) // Modifies the current row by adding a flag
// And we're done!
I warmly suggest you to take some time to have a deeper look at the Coda Formulas Reference page: not only lets you familiarise with the language, but sometimes it’s a source of inspiration.
Anyway, feel free to ask if something is still not clear.