improve handling of bitflags: pass 0 as default (so we can turn all off) and allow specifying an object to clone instead of stdclass
improve handling of bitflags: pass 0 as default (so we can turn all off) and allow specifying an object to clone instead of stdclass

monomelodies/formulaic,monolyth-php/formulaic