Quantum coherence and entanglement preservation in Markovian and non-Markovian dynamics via additional qubits