title: Generic convert
body: <p>I would like to be able to convert a type that inherits from a <code>Role</code> to a <code>Role</code>.  For example, a <code>RoleWithApiResources</code>.</p>
  
  <p>My <code>Convert</code> function looks like this right now, but does not compile:</p>
  
  <pre><code>public static Role Convert&lt;T&gt;(T role) where T : Role
  {
      var result = new Role();
      result.Id = T.Id;
      result.Name = T.Name;
      result.Description = T.Description;
  
      return result;
  }
  </code></pre>