clone

Clones and returns a new instance of given BaseMessage

Return

a cloned new instance of given BaseMessage.

Since

3.0.130

Parameters

msg

BaseMessage object to clone.