Synopsis:
monomialIdeal I -- create a copy of a monomial ideal I.
Code:
-- ../../../Macaulay2/m2/monideal.m2:58-61 monomialIdeal MonomialIdeal := I -> ( if instance(I, MonomialIdeal) then ( -- this is weird! sendgg(ggPush I, ggcopy); newMonomialIdeal ring I))