Array.replace

size_t replace(Stuff)(Range r, Stuff stuff) if (is(Stuff : bool))

ditto