.dup should be @property
Merge pull request #762 from WalterBright/dup-is-property

.dup should be @property