Fix Issue 6998 - std.container.Array destroys...

... class instances
Merge pull request #2079 from monarchdodra/6998

Fix Issue 6998 - std.container.Array destroys class instances