/// <summary>
 /// Clones this CommunicationRecipient object to a new CommunicationRecipient 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 CommunicationRecipient Clone(this CommunicationRecipient source, bool deepCopy)
 {
     if (deepCopy)
     {
         return(source.Clone() as CommunicationRecipient);
     }
     else
     {
         var target = new CommunicationRecipient();
         target.CopyPropertiesFrom(source);
         return(target);
     }
 }