title: Trying to clone an uncloneable object of class mysqli_result
body: <p>the following error is thrown:  </p>
  
  <blockquote>
    <p>Fatal error: Trying to clone an uncloneable object of class mysqli_result</p>
  </blockquote>
  
  <p>when I'm trying to use clone directly for a mysql query result:</p>
  
  <pre><code>$result = mysqli_query($con, $query);
  $resultsClone = clone $result;
  </code></pre>
  
  <p>is there a way to clone mysqli object?</p>