Use #[deriving(Clone, Eq)] rather than two attributes.