func (c *Channel) Clone() *Channel {
	return &Channel{c.Name, c.Topic, c.Modes.Clone()}
}
Clone deep copies this Channel.
package data
import (
	"strings"
	"github.com/aarondl/ultimateq/api"
	"github.com/aarondl/ultimateq/irc"
)
const (
	banMode = 'b'
)
type Channel struct {
	Name  string       `json:"name"`
	Topic string       `json:"topic"`
	Modes ChannelModes `json:"channel_modes"`
}
func NewChannel(name string, m *modeKinds) *Channel {
	if len(name) == 0 {
		return nil
	}
	return &Channel{
		Name:  name,
		Modes: NewChannelModes(m),
	}
}