public Cursor Duplicate() { IntPtr newp; int ret = funcs.dup(cursorp, out newp, 0); CheckError(ret); return new Cursor(parent, newp); }