.dup should be @property

required for https://github.com/D-Programming-Language/dmd/pull/3451