How to make Faster Time Sampling for Arduino until 1 MHz?

An Arduino DUE can sample 1 Msps in freerun mode (from Sam3x datasheet page 1318):

43.2 Embedded Characteristics

12-bit Resolution
1 MHz Conversion Rate
….