Stop modifying `params`, use copy
Accept @makimoto's review

https://github.com/fastladder/fastladder/pull/79#discussion_r3406321