proper cloning
trying to resolve borrowed values (unsuccessful)