Change to use deepCopy rather than clone. Initialize model when using internal controller only.