copy
Creates a copy of this command message with a deep copy of the header. This ensures header modifications don't affect the original message.
Return
A new CommandMessage instance with copied header.
Creates a copy of this command message with a deep copy of the header. This ensures header modifications don't affect the original message.
A new CommandMessage instance with copied header.