how to clone an element with specific number of times
<p>what's the syntax to clone an element with assigned times like 5 times?
   For example, in the html I have this element</p>

<pre><code>&lt;div name="test"&gt;
     this is a test
&lt;/div&gt;
</code></pre>

<p>and I have this clone button which will copy the element once very time I hit it. Then the  problem is how can I like just want to copy it 5 times which means after the fifth time I click the copy button, I won't be able to copy the element and get an alart like "already excess maximum "? Thanks in advance!</p>
