Fixing test performance by only copying mutable types during prelude
test setup.