Can magicians/rangers memorize the same spell more than once?

Torchbearer explicitly says that the same prayer may be added multiple times to your inventory. Is the same true for spells?

The only requirements are that the phase wasn’t a disaster and that you have your book or library at hand, so I’m inclined to say yes.