Arduino Mega or DUE?

Ah. Seems i was wrong.

Had to install another IDE 1.5.8 for Due.

It gives error on first line:

#include <EEPROM.h>

How to you Flash memory for storage?