Pass stack when copying an error. Closes #14