/// <summary> /// Clones this NoteWatch object to a new NoteWatch object /// </summary> /// <param name="source">The source.</param> /// <param name="deepCopy">if set to <c>true</c> a deep copy is made. If false, only the basic entity properties are copied.</param> /// <returns></returns> public static NoteWatch Clone(this NoteWatch source, bool deepCopy) { if (deepCopy) { return(source.Clone() as NoteWatch); } else { var target = new NoteWatch(); target.CopyPropertiesFrom(source); return(target); } }