Fix dup()

- all dup() functions have been changed to properties to match std
- added functioning dup() to sprite.d