groupoid object

generalization of a groupoid and a group objects