title: How can I clone FileStream type?
body: <p>How can I clone FileStream type?</p>
  
  <p>The problem is that I using <code>MagickNet.Image(inputStream)</code> to get the image distentions before saving it, but it seems to closing the inputStream.</p>
  
  <p>So, I can send a clone of inputStream to the function, so the function cannot edit the real inputStream object?</p>
  
  <p>This is my function:</p>
  
  <pre><code>public Picture GetPictureDimension(Stream inputStream, Picture picture)
  {
      var img = new MagickNet.Image(inputStream);
  
      picture.Width = img.Columns;
      picture.Height = img.Rows;
  
      return picture;
  }
  </code></pre>