It’s considered spontaneous if it starts burning without the aid of a spark or flame.
That’s a layman’s term; it isn’t truly spontaneous. All the factors are there to ignite oily rags, including heat, when they are stored in a clump that can accumulate heat especially (i.e. versus dissipate heat).
People used to use fragments of mummies to start fires. Resin soaked.