Quantum Synchronization and Entanglement Generation.