ray.</p>
<p>If <code>byRef</code> is true, primitive elements are copied by value whereas objects are copied by reference.</p>
<p>If <code>byRef</code> is false, the <code>copier</code> function is used for copying elements. If omitted, <code>clone()</code> is called on each element assuming all elements implement <code><a href="../../polygonal/ds/Cloneable.html#Cloneable">Cloneable</a></code>.</p></div></div><div class="field "><a name="contains"></a><h3 class="anchor"><code><a href="#contains"><span class