code: func (d *DirEntry) Clone() *DirEntry {
  	return &DirEntry{
  		LockIndex: d.LockIndex,
  		Key:       d.Key,
  		Flags:     d.Flags,
  		Value:     d.Value,
  		Session:   d.Session,
  		RaftIndex: RaftIndex{
  			CreateIndex: d.CreateIndex,
  			ModifyIndex: d.ModifyIndex,
  		},
  	}
  }
docs: // Returns a clone of the given directory entry.