add deriving Copy to PmError