duplicate_rows function

Duplicate rows and insert them into the dataframe in order or at random