set cpus and memsize when cloning from template