copy parameters in initializer instead of setting