Added a method for the DMD fix to an issue with delete that was uncovered while working on D-Programming-Language/druntime#864