This doesn’t seem to work. I did this and initialized two LSTMs. When I printed out the parameters for each, they were different.
Have you inspected parameters when using this method to verify that two different initializations result in the same outcome?