Array!int arr; scope(exit) arr.free(); arr.insertBack([1,2,3]); assert(arr.length == 3);
See Implementation