MetalCRASH: cosmological radiative transfer through metals in CRASH