IANAL, but, for the _California_ readers, I'm fairly certain a contract with a clause like 'losing all intellectual rights to ANYTHING done/written/created ANYTIME and ANYWHERE' will NEVER hold up in California court, assuming said projects are done with the employee's own time + materials.
...Which is also a strong reason why you should always avoid using/making/doing anything personal on your employer's laptop/equipment.