Adding an ability to zero-out arbitrary range directly to dram chip is very simple addition HW-wise.
In fact all ones is not hard either, there were some experiments to give RAM ability to perform simple page-level computations with promising results.