So I know that for OLS, "copying" each of the N observations $(X_i,Y_i)$ once to get a dataset of size 2N has no effect on the values of the coefficients in OLS (related question).
Does this still hold true for Ridge and Lasso regressions? I've ran experiments where the coefficients turns out do differ by a small amount. But I'm not sure if that's due to computation complications. Could someone please give a theoretical explanation why the coefficient would change (or why not?)