Compute an embedding of X points by classical multidimensional scaling (MDS). There are two calling options, specified via the required keyword argument distances:
As I understand it, doing distance=false makes it use Euclidean distance, while distance=true makes it use a distance metric you provide. Here you provided Euclidean, so results are exactly the same.
And it seems that using Euclidean MDS is exactly equal to PCA (I have no experience with MDS, just following comments from the net, e.g. here)