implement schema.clone() method