How do I duplicate entries more than once?

How do I duplicate entries more than once?

Hi. I am trying to put together a raffle which gives the user the option to purchase more than one 'ticket'.
What I would like to do is multiply the data entry based on the amount of tickets purchased e.g. if the user purchases 3 tickets, the form would automatically create another two entries.

If anyone could help me with a way of doing this, it would be much appreciated.

Thanks