### What happened? Any templates that create from trajectory need deepcopy of trajectory and constraints, like unitary versions. ### Version stable release ### What does this bug affect? - [ ] quantum system construction - [x] problem setup - [ ] problem solution - [ ] problem performance - [ ] solution analysis - [ ] plotting - [ ] documentation - [ ] tests - [ ] other (please specify below) ### Other information _No response_