According to Dr. Krista Varady, modified alternate day fasting (eating 500 calories on your fasting days) is the best for sparing muscle with 1% of the weight being muscle. She discusses this in her book Every Other Day as she details the studies she has ran.
I’m never quite sure what studies to believe, but it makes sense to me that consuming a small amount of calories could offset muscle loss.