Copy objects directly on Swift