using System; using System.Runtime.InteropServices; namespace Urho { public partial class Model { [DllImport (Consts.NativeImport, CallingConvention=CallingConvention.Cdecl)] extern static IntPtr Model_Clone (IntPtr handle); public Model Clone () { Runtime.ValidateRefCounted(this); return Runtime.LookupObject (Model_Clone (handle)); } } }