Script for making every material one material per one object

Read Make Materials Single-User via code?