Optimally preserving quantum correlations and coherence with eternally non-Markovian dynamics