A method to duplicate a row

rep_row(x, n)

Arguments

x

the row value that need to be repeated

n

the number of repeats