var foo = new uint8[12]; var bar = (owned) foo; assert (foo == null);
The bar variable will own the value previously owned by foo.
bar
foo